package com.ruben.simplescaffold.enumration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 性别枚举
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/8/5 15:35
 */
@Getter
@AllArgsConstructor
public enum GenderEnum implements IEnum<Integer> {
    /**
     * Cheating the compiler.
     */
    MALE("男", 1),
    FEMALE("女", 0);


    private final String desc;
    @EnumValue
    private final Integer value;
}